﻿using System;
using Sunimage.Spjg.BLL.Helper;
using Sunimage.Spjg.Common;
using Sunimage.Spjg.Common.SysMgr;

namespace Sunimage.Spjg.Web.Admin
{
    public partial class SysMgrMP : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (GsjUserHelper.Role != RoleType.Administrator)
                {
                    GsjUserHelper.ReLogin();
                }
            }
        }
    }
}